#pragma once
#include "DXAMLCommon.h"
#include "IPALDownloadRequest.h"
#include "IPALAbortableOperation.h"
#include "IPALUri.h"
#include "RangeRequestData.h"


struct ICoreServicesSite
{
public:
	virtual HRESULT UnsecureDownload(IPALDownloadRequest *pDownloadRequest, IPALAbortableOperation **ppIAbortableDownload, IPALUri *pPreferredBaseUri, RangeRequestData *pRangeRequestData) = 0;
	virtual HRESULT CheckUri(CXString *theRelativeUri, unsigned int eUnsecureDownloadAction, int *pfShouldSuppressCookies) = 0;
	virtual char IsNativeHosted() = 0;
};